package com.koocloud.electroplatemanage.service;

import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.pojo.IncomePartJudgeFieldVo;

/**
 * @program: electroplatemanage
 * @description: 来料接收与判定字段Service接口
 * @author: zww
 * @create: 2020-10-10
 */
public interface IncomePartJudgeFieldService {
    //查询来料接收与判定表字段表启用字段的相关信息(根据orderid排序)
    ResponseTemplate selectEnableFieldInfo(String page, String limit,String idOrName);
    //查询来料接收与判定表字段表启用字段信息查询的相关信息并驼峰(根据orderid排序)
    ResponseTemplate selectEnableFieldInfoForVo();
    //查询来料接收与判定表字段表启用字段数
    ResponseTemplate selectCountEnableField();
    //查询数据库最大orderId
    ResponseTemplate selectFieldMaxOrderId();
    //新增扩列字段信息
    ResponseTemplate insert(IncomePartJudgeFieldVo incomePartJudgeFieldVo);
    //逻辑删除一条记录
    ResponseTemplate delete(String fieldCode,String enableFlag);
    //修改一条记录
    ResponseTemplate update(IncomePartJudgeFieldVo incomePartJudgeFieldVo);
    //校验能否进行扩列
    ResponseTemplate checkExpansion();
    //校验orderId排序
    ResponseTemplate checkOrderId(int orderId);
    //校验formula公式
    ResponseTemplate checkFormula(String formula);
    //查询来料接收与判定表字段表非权限启用字段的相关信息(根据orderid排序)
    ResponseTemplate selectNotAuthEnableFieldInfo();
    //查询默认科目号
    ResponseTemplate selectProjectNo();
}
